"""
1 打印一个星星
2 一行5个，循环-- 5个星星在一行显示
3 打印5行星星： 循环 -- 1行五个
"""
print('...........打印正方形星星............ ')
i = 0
while i < 5:
    j = 0
    while j < 5:
        print('*',end='\t')
        j += 1
    print()
    i += 1
print('...........上述执行成功..............')


print('..........打印三角形星星..............')
n = 1
while n <= 5:
    m = 0
    while m < n:
        print('*',end='\t')
        m += 1
    print()
    n += 1
print('...........上述执行成功..............')


print('..........打印乘法口诀表..............')
x = 1
while x <= 9:
    y = 1
    while y <= x:
        z = x * y
        print(f'{y}*{x}={z}',end='\t')
        y += 1
    print()
    x += 1
print('...........上述执行成功..............')

